import req from '@/utils/request';

//匹配分析
export const matchAnalysis = (params) =>{
  return req.post('/dataanalysis/matchAnalysis',params)
}

//性别分析
export const genderAnalysis = (params) => req.post('/dataanalysis/genderAnalysis',params)

//闪电会话总览
export const flashChatAll = params => req.post('/dataanalysis/flashChatAll',params)

//闪电会话表
export const flashChatList = params => req.post('/dataanalysis/flashChatList',params)

//私聊总览
export const privateChatAll = params => req.post('/dataanalysis/privateChatAll',params)

//私聊分析表
export const privateChatList = params => req.post('/dataanalysis/privateChatList',params)

//想法总览
export const IdeaAll = params => req.post('/dataanalysis/IdeaAll',params)

//想法分析
export const IdeaAnalysis = params => req.post('/dataanalysis/IdeaAnalysis',params)

//想法分析导出
export const ideaAnalysisExcel = params => req.post('/dataanalysis/ideaAnalysisExcel',params)


//安装注册总览
export const InstallAndRegist = params => req.post('/dataanalysis/InstallAndRegist',params)

//渠道请求
export const channellist = params => req.post('/channel/list')

//安装注册表
export const InstallAndRegestList = params => req.post('/dataanalysis/InstallAndRegestList',params)

//测试停留总览/dataanalysis/testAndStay
export const testAndStay = params => req.post('/dataanalysis/testAndStay',params)

//测试停留人数统计表
export const testAndStayList = params => req.post('/dataanalysis/testAndStayList',params)

//在线统计总览
export const onlineStatistics = params => req.post('/dataanalysis/onlineStatistics',params)

//渠道人均在线时长表
export const onlinePerTime = params => req.post('/dataanalysis/onlinePerTime',params)

//用户活跃总览
export const userActive = () => req.post('/dataanalysis/userActive')

//用户活跃图表
export const userActiveList = params => req.post('/dataanalysis/userActiveList',params)

//用户存留人数与存留率
export const userStayAndRate = params => req.post('/dataanalysis/userStayAndRate',params)

//总浏览时长与人数分布
export const browseData = params => req.post('/dataanalysis/browseData',params)

//日平均浏览时长分布
export const browseAverageTime = params => req.post('/dataanalysis/browseAverageTime',params)

//登录总览
export const dataanalysisLogin = params => req.post('/dataanalysis/login',params)

//登录详情表
export const loginList = params => req.post('/dataanalysis/loginList',params)

//电量总览
export const electricity = params => req.post('/dataanalysis/electricity',params)

//电量领取详情
export const electricityGet = params => req.post('/dataanalysis/electricityGet',params)

//电量消耗详情
export const electricityLoss = params => req.post('/dataanalysis/electricityLoss',params)

//渠道分析
export const channelAddList = params => req.post('/dataanalysis/channelAnalysis',params)

//埋点上报
export const BuryingReport = params => req.post('/burying/report',params)

//登录详情统计图
export const loginCharts = params => req.post('/dataanalysis/loginCharts',params)

//电量领取详情统计表
export const electricityGetCharts = params => req.post('/dataanalysis/electricityGetCharts',params)

//电量领取详情统计表
export const electricityLossCharts = params => req.post('/dataanalysis/electricityLossCharts',params)